Refactoring of Agilent3320a