operate class