changed from sha256 to sha512
updated todo