Added default value for pair number since the javascript automatically calculates it anyway and it will almost always be that value.