got printing worked out