fixed timing and async and consolelog