working on console application