added more outputs