simplify read_event
add chord typer script