many improvements to dialect class