pass db directly to load function