upstream costs