Pretty stable version of program.