oops, -1 is not unsigned