Added integer function