Added prototypes for event beavhiours