Changed to c99