remove use of "bool" due to microsoft