Started to implement receive functionality.