start kernel code