still cleaning up. flatMap to convert. Possibly not possible with the
current classes.