added title extraction