removed stop button
prepare for thread writing