use print function instead of print statement