added rest events in the location