Adding special keys treatment