add boolean to checkbox