wrote docs for functions starting with "K"