Switch to using print function