had forgotten some other C functions