Bad realization of CASE added.