working on iv calc