Restored anonymous function