Implemented edwards for 0