Add variables to M to restore potion learning
Add list to M
Add function to m
Call function from M