sped up legend and text fetching