got each and map to work