Converted to C project