Added print() functionality