added const to variable in trait