more work on three.c