please add the max feature in entering the number of tokens in the swab and others