added str type, token