Beginning of a function for correct/persev/explor