enhance helper file by adding functions in it

enhance helper file by adding functions in it