new feature: adding stop button.