Code Refactor - took out unneccessary print statements