moved attend act and event to models