efficency improved selecting data