introducing the helper module for reusing the functions outside