tested array, resulted in error