Updaed if else statements in the main