added method to get the content element