Use array instead of hash