Example of how to deal with IndexedSeq