modified print statement to reduce logs