Working map task on doubles