added code for fetching address info