Moved nearby_source class property to flow() method as parameter