add support for keyboard option