n can be const