switching to lighter weight c version