add some const qualifiers