adding logic to move setup and teardown times to function moveEvents