changed how stop button functions.