make Helper to contain functions, reformat code.