added assert on received value