Added const to the parameters of the functions.
Added const to the parameters of the functions.