learning from modules. adaptation