Using integer instead of int