adding getlocations back