Added dynamic index for events, abstracted booleans w/pictures