Maor change to template. Used markAttendance as sample