How about using map?