change declarations method response (string -> array)