modularize ban system