adding theory and exercises