knote modified for cache