Added print function