nit: anonymous function -> `baseLoaded()`  or something?