add input event handler seq
add AM diags.