implemented input-append, commented out agency-related display