added resp_func for multiple cracking