update to threads7.c