converted checkbox values to boolean