modified to accept a title and subtitle