startin with caching algos