added outputs and inputs for problem2