added slider to UI to pick a number