add get title element method