added GetArray and String function