modified print statement