Modularize quakes