events3 and cleanup