removes print statements
renames  to  for clarity