Refactored posting process