adds location assignment