added data type "delay_t"
add function delay and force