extract default title into variable so its not duplicated