Use array to spare some memory.