preperation for ping, need training in SQL :(