change double to void return to functions that do return void