add dialect support