made const correct