added verification of signature to recieve, and fixed typos