add checkbox for boolean, more validation