Solution for seqOptional