significant improvements to kbash