Implemented 2 event handlers. Fixed effects runnable