removed a few print statements for production use.