for running kap_a