adding SendToMaps function