added binary kernel.