refactoring/MingYang_Lu/group1

attendance methods