add listeners to input and output display screens