I think this should be `int` instead of `bool`.