added pk funs