Add - getlocations functions