updated to console application