implemented revenue calculation
revenue added to dashboard