added feature to set title from content