more work on C implimentation of increment