adjusted the outputs so we get all relevant info