workin on printouts js