Make cases dynamic (TODO: full)