token processor