New structure returnOutputObjects and more