removed dependency on pandas