added learning

this changes everything