removing unnecessary const