adding key event overlay example