restoring events