adding functions and tests in/for int_util