diff --git a/paper.md b/paper.md
index f55b7a1c118436d9b64cfbc5285410dcbeee75d4..9d49ff1afb7b9d14de1ea75a0428ad817ece47d8 100755
--- a/paper.md
+++ b/paper.md
@@ -146,12 +146,9 @@ When querying $n>1$ points, the former procedure simply repeats $n$ times.
 <!-- example of distance loss on singularities -->
 ```python
 from adaptive import Learner1D, Runner
-from module import complicated_function
+from module import complicated_function as f
 
-learner = Learner1D(
-	complicated_function,
-	bounds=(-1, 1),
-)
+learner = Learner1D(f, bounds=(-1, 1))
 
 def goal(learner):
 	return learner.loss() < 0.01