add some interface for dialect