started rewriting of implementation chapter