Implemented events in scarlet(untested)