added get array method
added ArrayAdapter