taking out the location object