adding kasami code generation