adding title attribute