added title handling