added reset button and infinate running