commented out debugging code
different headers, use __REENTRANT