suit for declaration and permanent injunction format