added complete console app