added hideCheckbox prop