adding iterrupt config, and timeing fix.