Console app sample