added user input for locations