modified checkListener with interrupt 3