changed interrupt enable code