prepare for publish
add beta and gamma kernel support