reduction of multiple retrieving of data