adding max value to the requirements when creating a badge