now only passing objects to controller methods