debugged, fixed the timings