Use boolean instead of int