adds locations object