Fixed typo (s/recieve/receive/)

Also removed excessive newline near end of file.