Added pseudo-code for kernel functions