changed interrupt initialisation