override the method to populate object from form