adding print to main function

pull request