implemented pickLocation