removed output statements