updated the c files a bit still some more work to do on them