Set up if else condition to produce results.