adding evict logic