remove depreaction from example in kernel