implemented processContextToken -- see #4