upgrade to ddr-alerts 0.3.0; refactor helper method; closes #31