napojeni na HashManager, refactoring