Using Device Input and Output Control