Why limit is hardcoded, I expected it to be a parameter.