finish the dos