Removed unnecessary comments and added clojure language in the new
switch statement