I don't get it. `max_n` will alway be `1` since you set it that way the line before?