Attendance statistics

make name a sequence in factory