Implemented Next and Previous in Ledger