document post refactoring