Shortened the block for loading the entries array.