Adding prototype for map_conditional