How Barry became the flash