Using user interaction to construct output