use c99 and activate debug