Removed redundant print statements