Started to sync more than single input. Modified behavior for input matching.
Not working real well yet