added support for multiple volumes