Removed debugging print statements and fixed indentation issue