add task procedure for kernel