add else if statement to determine the results.