added title directive

added titles too