complete blinkies code for the badges