added case statements example