make classes version work