setting checkbox to true