add case&if of demo case file