implemented case expression syntax