Replaced old c file