incomplete code for spc lru