Changed function and variable names, fixed the output dropdown to refelct the new //text change