adding status code

avoid .length not present problem
after 50 reuses, increments resuss var in l_guid_ips on 1 every 10 times