fixing calling init on instance rather than class, which was breaking the table printing