keyboard control added