makes event relative