added k_stop
added k_stop