use printit to log