Added simple print function