replaced auto_load() with anonymous function