added x-dict support