implemented detaching volumes