diff --git a/README.md b/README.md
index 61e5a537380e205e775c88e5094c85cca21e8d84..6d6b3bfd4accda77da7e9daa2915130739b71f85 100644
--- a/README.md
+++ b/README.md
@@ -15,8 +15,8 @@ description is loaded, the noise budget can be calculated and plotted:
 >>> import numpy as np
 >>> freq = np.logspace(1, 3, 1000)
 >>> ifo = gwinc.load_ifo('aLIGO')
->>> ifo = gwinc.precompIFO(ifo)
->>> noises = gwinc.noise_calc(ifo, freq)
+>>> ifo = gwinc.precompIFO(freq, ifo)
+>>> noises = gwinc.noise_calc(freq, ifo)
 >>> gwinc.plot_noise(ifo, noises)
 ```
 Or the `gwinc` convenience function can be used to handle it all: