Changed formatting of case statement