code improvement orders#revenue method