using class for editor option panel