a functioning check-all button