shouldn't it be:
is greater than maximum value of **11**, so function returns 10