bed,upstream,downstream