Use array's member variable instead of const