changed wd. made factors. working on split/colMeans