Changed Select to Map and SelectMant to FlatMap