Setting up alert and loop - Duel 1