Loads parameters outside of function