Loading data using queue