Moved revenue code