modify 1e3 to 1000.0 for readability