2 part inventions no 2 in C