Somehow working

went back to still fixing c file, everything else is new