More robust switch reader V0.1