Re-add ip functionality