remove pause function
add stop function
delete whitespace