adding compute and lb ip to code