Add string to array method