set up learning system