Shift events to variable