compare with html transformation
Cool refactoring.