genarate setter and getter for happy