attendance switches working