just use for each and map