export median too
use ec2