added set methods and toString method to guest class.