Adding feature for keystroke controlling