added sketch for Event class
code code everywhere