add a simple learning program.