added receiveRaw method