working on attendance page