Modified host and kernel code