better dotsClass adding