adding the action to only show visible sentences