add enable and pattern check features