finished initial version of cnf_timeout