add a few const qualifier