modified Magmeter receive code