beginning to write Clause class