Refactor using let to create base_title variable