events triggering, infinite prompt