Working LockStep implementation