Added revenue calculation