added location input

Final newline missing.