removed Eigen dependency