add title and author variables