Use bool type for all boolean variables