dynamically populate the location