Use Map type for the Background tasks