Initialize array before set keys and values