simplify print statement