take jason as input flag and check for missing irq