events and rearrange