kpk methods and classes