Use Seq instead of Array