allowed insert method to check for 1 of 3 correct nodes