added some essential functions, kclear and kinfo