incorporated Sean's advice about result - to avoid extra copies