trying to cache all the data to improve the times