Added some verification of input pairs as example that only matched pairs are checked - input id and input type, has to be a single function in future