smelting is done