Changes t o print function