arrayadapter is functional