First attempt to add print function