revenue calcs