Before the line takes possession of the ship from the shipyard, any outstanding warranty issues are negotiated and a pre-delivery list of things that still need to be done such as painting, laying carpet or other cosmetic finishes is made and the shipyard is obligated to finish those tasks as soon as possible.