added an attendance model