a correction to change the routine