Added cursor pointer to the checks table