switch to #kmath for debugging