add title and ruler