little changes for C89