added get contentFormat function