add median , and change variance to standard deviation