partial token implementation