added output statement