added renderContent and add and get title methods