adding location component