map function...have to keep invoking it??