Changed learn_period to be identified by name
still needs some work