EXT1007: Working version with 4 switches