change key input/recognition structure.