added define for binary kernel