this again is mixing uint and int  i think we should fall on the side of uint  because level is not something that can be negative  but maybe i am just a performance hating pedant anyone else have an opinion on int vs  uint 