model selection example program.