adding the title attribute