more work on led flashing