Change array to std::array<>