removing dependency on pandas