added delays to startTrace method