Use title variable instead of name variable