Correct the initialization.
Use const function to do non modification logics.