Updated helper file to ajust function parameter and variable names.