removing unnecessary copy-of