added integer functions