some missing integer functions