add injection for map which takes span duration