updated to not used pandas meta data as not working yet