adds location stuff