reformatted MakeDouble