Added volume mapping function