volume is working with gallon units also with repeated code from length