Updated for Gecoding Reverse