Use Map in BackgroundTask