changed to only location change