addded the title as variable