finished styling training.c