Adding stub code to process things depending upon volume type