tried to fix the timing