Added print function
Fixed namespace