detect formats in cdp