introduced idea of preventing last checkbox from being unchecked... needs work