add c version