Wrote Ping plugin