interactivity: removed unused lines of code