delete original C version