change stl container to array