added the option of titles