Receives data with asserts checking