attendance model added