fixing an indent and removing left over print statements