issue38: Created attendance checking
issue38: Fixed syntax error