#2 output added