properly parses cef records (i think )