set title and date