refactored checkbox helper, added hidden helper