events, attendances, and record attendance helper