conditional model classname