Created loop to keep trying different names and dates

adding if statements and loops