make method const