Creating a separate module for common subfunctions.