extracting out some methods in console app
turns out that last commit broke everything so lets sure up this tests