brought in time_delay and util_func to the repo. not integrated yet.