added const to new method parameter