Comparison by inlet and outlet