remove pass-by-reference due to deprecation