Why are you using the median here? 

Even if you do end up using the median - the comment above says "mean/std", so probably want to correct that.