build title and content