Moved when functions are called to below the params