Code optimized and MCP leds checked