trying to get c file to work