flash timeout
removed debug stuff