with print statements removed D: