var redbulls tied to totalamount function