Deleted unnecessary if/else statement from console check.