translated console application program and source code