edits to arg passing.