corrected argument assignment