adding map functions