output statements added