adding location object