adding bad code for Case