printing all the statements