checking for matched input sigs