added cdpi_callback