map and reduce works for 1