changes suggested by prof. Ripley