Not sure flatMap is needed here.