added LED flash to main