moving to c99