modified checkListener with interrupt 2