a first work version for replaying with only keystrokes