adding priority to remaining events