Use array indexer rather than Seq.head.