change syntax for case