Added non-integer function