Corrected implementation flags
Corrected scope of paragraphs
Corrected errors after changes in the model