Reformat joi check for clarity.