set class for advanced