removed unused title variable