Is this pass-by-value on purpose?