added ip scan loop