saving OFFLINE debt this in memory and adding ID generator.