adjusted trigger block for consistency