refactored get object from address