Using Map and flatMap to return a single observable