action for a declaratory judgment