you want to use a boolean here instead of int.