Updated the rest of the code to use _receive().