add output to the session