Removed unused method from functionFlow