deleted unnecessary copies