Remove parameters into functions pause and stop