exmplain the flag k and r. in doc and readme