made boolean variable a boolean