added constructor declaration to events