small refactoring
started to impl private msg