Added stderrred and switch k to my fork