eliminate some copying