added getcontentid method