modularize eviction methods