New c code... yousef's version