Locations table working