Tested array instead of vector and success