[IMP]Improved code for revenue recognition.