attendance mechanism