old.html + refactoring