adding missing parts of the theorie