read and write standard deviation