Scott, what you did will satisfy code. Another option would have been to use a ground ring or plate electrode.