added const; comments