refactoring asd file