step 4: forms and events