adding location array