Modified arcPing() to function more efficiently