add cache in tendency