minor changes, attendance works!