few editing  for attendance based on student