cooking the sugar until a caramel syrup is made.