added comments and renames <a>