adding conditional html
adding map helper