added launching and stopping the kerneles