change 'ip' function indentation