replace `boolean` with `bool`
replace `integer` with `int`
small change