worked on a bit of c code