It's cleary says what you are doing wrong: Error: attempt to compare function with number.
You don't call Self.Cap function and then match, instead you try to compare it (Self.Cap function) with number and that's why you are getting such error.
Got it so i left out the parenthesis, thanks bro.
Once more into the fray.
Into the last good fight I’ll ever know.
Live and die on this day.
Live and die on this day.