Changed for Const Correctness but Error Still