append to ip list instead of clearing it every time