added simple array adapter