kba processing with threading