added more interactivity to the UI