Changed arguments to _inout for consistency