working on console app