hammered out the rest of signature_verify, need to go though and fix later