create setter method