the slightest of changes to remove reference passing.