create percent pass checker