deleting unnecessary copy