comments made on else statemnt and console.log