this was an optimization to prevent an extra copy of the objects