add interactive condition