Moving from Cobol to C