done with ip macro