Added draw with map function.