Update kr4.cpp