changed move to copy