Integer function added