Changed the redeclaration of <code>vol2</code> to be replaceable.
Changed record declaration to be a parameter.
Changed record declaration to be a parameter.