added case statement docs