working on the last ip macro