improved print function

 On branch master

	modified:   lib/index.js