some changes to the location addition