added simple eviction algorithm