implement tokens