modified to return bean obj in setters