adding lesson to repository