added attendance model