functions complete, debug in event_form needed