try to simulate more precisely for offline(still have timing issues)