fp/add: Completed add_output method