dynamic classes, simplified weights/anon formula