slide added: TODO: external js and refactor