!!change calculate pocily about avg/sd.