changed from a map to an array to follow the gcm convention of order.