add the new class YFModel