use an integer instead of a boolean