now compiles using ansi-c standard