adding dynamic titles