new try for a codec API