before refactor of sidebar HTML