Changed revenue_type to revenuetype