added retrieveLocalObject method