made function to change checker box, box count