implemented delete volume function