introduced medalRepo, fixed pilotRepo