returnin objects from the controllers