will now compile with std=c99