adding keyboard control to line test