now checks that all inputs are connected