program can be trained to learn policy