make functions clearer, and all data coming for HDFStore