HW 2 and event tutorial