integer functions added