Addition of map creating function