refactor the website