removed unnecssary print statements