some code cleanup

removin uneccesary printf statements