modified location model.