methods for loading data and popularities