changed to pytables