switch title and date