updated run.c