Oh, I see what happened. You copied in the code twice. Do a search of masteredpair and masteredot3 and you'll see two identical results show up when there should only be one. Delete out one copy (everything from the // to the closing } }) and make sure the remaining one has its two closing brackets.
no subject