run.c updated