small refactorings
append missing file