change la portee function delay_func