add reset method to allow it reset the token with given items