Moved doNothing function inside a deeper scope