Added debug statement to test receiving messages