made only the correct conditional statement be eval()