renamed main c file