Updating to use tin