added a version in C