added title variable