Switched to C99