started adding in cache layer